package com.tsingeye.viid.mapper;

import com.tsingeye.viid.domain.SubImageInfo;
import com.tsingeye.viid.domain.ViidMotorVehicleImage;

import java.util.List;

public interface ViidMotorVehicleImageMapper {

    /**
     * 批量新增images
     *
     * @param images 照片列表
     * @return 返回
     */
    public int insertBatch(List<SubImageInfo> images);


    /**
     * 查询机动车照片列表
     *
     * @param viidMotorVehicleImage 机动车照片
     * @return 机动车照片集合
     */
    public List<ViidMotorVehicleImage> selectViidMotorVehicleImageList(ViidMotorVehicleImage viidMotorVehicleImage);

    /**
     * 批量删除机动车照片
     *
     * @param expireTimestamp
     * @return 结果
     */
    public int deleteViidMotorVehicleImageByDate(Long expireTimestamp);
}
